Revenue\Revenue_Buy_X_Get_Y A

Total Complexity 64
Dependencies 0
Dependents 1
Total lines 508
Lines of code 219
Logical lines of code 142
Comment lines 195
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
render_views()
A
42 13 55
set_price_on_cart()
A
45 13 40
add_to_cart()
A
44 11 45
is_eligible_for_discount()
A
55 9 18
after_trigger_product_added_to_cart()
A
49 8 28
set_cart_item_quantity()
S
69 3 6
output_inpage_views()
S
66 2 8
output_popup_views()
S
71 2 6
output_floating_views()
S
71 2 6
init()
S
66 1 7